package com.haoran.dwz.dto;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;

/**
 * 短网址生成器DTO
 *
 */
@Api("生成短网址参数对象")
public class DwzGeneratorDTO {
	@ApiModelProperty("原始网址")
	private String url;
	@ApiModelProperty("期望生成短网址的长度网址")
	private int type;

	public DwzGeneratorDTO(String url, int type) {
		this.url = url;
		this.type = type;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}
}
